package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.BrankMapper;
import com.stylefeng.guns.modular.system.model.Brank;
import com.stylefeng.guns.modular.system.service.IBrankService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-30
 */
@Service
@Transactional
public class BrankServiceImpl extends ServiceImpl<BrankMapper, Brank> implements IBrankService {

	@Resource
    private BrankMapper brankMapper;
	
	@Override
	public List<Map<String, Object>> selectMapsByName(Page<Brank> page,
			String name) {
		return brankMapper.selectMapsByName(page,name);
	}

}
